﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ChurchFI.Model;

namespace ChurchFI
{
    public partial class About : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            HttpCookieCollection cookie = Request.Cookies;
            //Request.IsAuthenticated;
            //HttpContext.Current.Session[
            Session["ID"] = "1";

        }


        [System.Web.Services.WebMethod]
        public static City GetCity(City city)
        {
            return city;
        }



        [System.Web.Services.WebMethod]
        public static M_User getUser()
        {
            M_User _M_User = new M_User() { Name = "이름", UserSeq = "1" };
            return _M_User;
        }


        [System.Web.Services.WebMethod]
        public static List<M_User> getUsers()
        {
            M_User _M_User1 = new M_User() { Name = "이름", UserSeq = "1" };
            M_User _M_User2 = new M_User() { Name = "이름", UserSeq = "1" };
            List<M_User> M_Users = new List<M_User>();
            M_Users.Add(_M_User1);
            M_Users.Add(_M_User2);

            return M_Users;
        }

    }


}


public class City
{
    public string Name;
    public int Population;
}
